import {PerspectiveCamera} from './PerspectiveCamera.js'

function ArrayCamera(array) {
  PerspectiveCamera.call(this)

  this.cameras = array || []
}

ArrayCamera.prototype = Object.assign(Object.create(PerspectiveCamera.prototype), {
  constructor: ArrayCamera,

  isArrayCamera: true,
})

export {ArrayCamera}
